package com.domain.dto.role;

import com.domain.dto.permission.PermissionDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class PermissionTreeDTO {

    @Schema(description = "权限数据对象")
    private PermissionDTO permissionDTO;

    @Schema(description = "子权限数据")
    private List<PermissionTreeDTO> childrenList;
}
